{if isset($jy_friendlinks) && !empty($jy_friendlinks)}
<div class="ly">友情链接</div>
<div class="l">
{foreach $jy_friendlinks as $v}
<a href="{$v['link']}">{$v['name']}</a>&nbsp;
{/foreach}
</div>
{/if}